﻿<phone:PhoneApplicationPage
    x:Class="jbgswin.chakan"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid HorizontalAlignment="Left" Height="142" Grid.RowSpan="2" VerticalAlignment="Top" Width="480">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition Height="Auto"/>
        	</Grid.RowDefinitions>
        	<Grid.ColumnDefinitions>
        		<ColumnDefinition Width="Auto"/>
        		<ColumnDefinition Width="Auto"/>
        		<ColumnDefinition Width="Auto"/>
        	</Grid.ColumnDefinitions>

        	<Button Content="定位" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Grid.Column="2" Width="150" Click="Button_Click_1"/>

        	<RadioButton x:Name="r1" Content="1500m" Height="70" HorizontalAlignment="Left" Width="150" Tag="1500" Checked="r1_Checked"/>
        	<RadioButton x:Name="r2" Content="5000m" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.ColumnSpan="2" Margin="150,0,0,0" Width="174" Height="70" Tag="5000" Checked="r2_Checked"/>
        	<RadioButton x:Name="r3" Content="1万m" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="2" Width="150" Height="70" Tag="10000" Checked="r3_Checked"/>
        	<Button Content="重置" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Width="150" Click="Button_Click"/>
        	<Button Content="导航" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1" Width="130" Click="Button_Click_2"/>
        </Grid>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="0,142,12,0"/>
    </Grid>

</phone:PhoneApplicationPage>